<?php
/**
  * Musashi - A project manager for music groups and bands
  * Copyright (C) 2010 Daniel Torres
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  */

/**
 *  View file for the welcome model. This is the administration version
 *  
 * @package Musashi
 * @author Daniel Torres
 */
 
 // Make sure we have access to this page
 defined('_JEXEC') or die ('Restricted access. Sorry');
 
 jimport('joomla.application.component.view');
 
 /**
 *  Welcome view (for Administrators)
 *  
 * @package Musashi
 * @author Daniel Torres
 */
 class MusashiAdminViewMusashiAdmin extends JView
 {
    /**
     *  Prepares the information needed to be displayed
     */
    function display( $tpl = null )
    {
      
        JToolBarHelper::title( JText::_('Musashi Manager'), 'generic.png');
        JToolBarHelper::preferences('com_musashi', 300);
        /*
        JToolBarHelper::deleteList();
        JToolBarHelper::editListX();
        JToolBarHelper::addNewX();
        */
        
        // Just Get some information that should be displayed in the form
        $params =& JComponentHelper::getParams('com_musashi');
        $group = $params->get('name');
        $this->assignRef('group', $group);
              
        parent::display( $tpl );
    }
    
 }
 
?>